|
10dof 2.2.0
|
This file contains API for 10DOF Click driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_i2c_master.h"Go to the source code of this file.
Data Structures | |
| struct | c10dof_t |
| Click ctx object definition. More... | |
| struct | c10dof_cfg_t |
| Click configuration structure definition. More... | |
Functions | |
| void | c10dof_cfg_setup (c10dof_cfg_t *cfg) |
| Config Object Initialization function. | |
| C10DOF_RETVAL | c10dof_init (c10dof_t *ctx, c10dof_cfg_t *cfg) |
| Initialization function. | |
| void | c10dof_default_cfg (c10dof_t *ctx) |
| Click Default Configuration function. | |
| void | c10dof_write_byte (c10dof_t *ctx, uint8_t reg, uint8_t data_in, uint8_t slave_addr) |
| Generic write function. | |
| uint8_t | c10dof_read_byte (c10dof_t *ctx, uint8_t reg, uint8_t slave_addr) |
| Generic read function. | |
| uint16_t | c10dof_read_data (c10dof_t *ctx, uint8_t msb_reg, uint8_t slave_addr) |
| Generic read function. | |
| void | c10dof_hw_reset (c10dof_t *ctx) |
| Reset function. | |
| uint8_t | c10dof_bmp180_chip_ID (c10dof_t *ctx) |
| ID function. | |
| uint8_t | c10dof_bno055_chip_ID (c10dof_t *ctx) |
| ID function. | |
| uint8_t | c10dof_get_accel_ID (c10dof_t *ctx) |
| ID function. | |
| uint8_t | c10dof_get_mag_ID (c10dof_t *ctx) |
| ID function. | |
| uint8_t | c10dof_get_gyro_ID (c10dof_t *ctx) |
| ID function. | |
| uint16_t | c10dof_get_soft_ID (c10dof_t *ctx) |
| ID function. | |
| uint8_t | c10dof_get_page_ID (c10dof_t *ctx) |
| ID function. | |
| void | c10dof_default_configuration_BMP180 (c10dof_t *ctx) |
| Configuration function. | |
| void | c10dof_default_configuration_BNO055 (c10dof_t *ctx) |
| Configuration function. | |
| void | c10dof_set_config_mode (c10dof_t *ctx, uint8_t config_mode) |
| Configuration function. | |
| void | c10dof_select_page (c10dof_t *ctx, uint8_t page_number) |
| Page selection function. | |
| void | c10dof_config_accel (c10dof_t *ctx, uint8_t acc_cnfg) |
| Accel configuration function. | |
| void | c10dof_config_gyro (c10dof_t *ctx, uint8_t gyro_cnfg) |
| Gyro configuration function. | |
| void | c10dof_config_mag (c10dof_t *ctx, uint8_t mag_cnfg) |
| Mag configuration function. | |
| void | c10dof_set_sensor_units (c10dof_t *ctx, uint8_t sensor_units) |
| Sensor units function. | |
| uint8_t | c10dof_get_system_status (c10dof_t *ctx) |
| System status code. | |
| uint8_t | c10dof_get_system_error (c10dof_t *ctx) |
| System error code. | |
| void | c10dof_set_mode (c10dof_t *ctx, uint8_t mode_val) |
| Mode. | |
| void | c10dof_set_normal_mode (c10dof_t *ctx) |
| Normal mode. | |
| void | c10dof_start_temperature_measure (c10dof_t *ctx) |
| Temperature reading start. | |
| void | c10dof_start_pressure_measure (c10dof_t *ctx) |
| Pressure reading start. | |
| int16_t | c10dof_read_raw_temperature (c10dof_t *ctx, uint8_t msb_reg) |
| Raw temperature reading. | |
| int32_t | c10dof_read_raw_pressure (c10dof_t *ctx, uint8_t msb_addr) |
| Raw pressure reading. | |
| void | c10dof_get_calib_param (c10dof_t *ctx) |
| Read the calibration parameter function. | |
| void | c10dof_get_measurements (c10dof_t *ctx, float *temperature, float *pressure) |
| Get measurements value - temperature and pressure data function. | |
| float | c10dof_get_temperature (c10dof_t *ctx) |
| Get temperature value function. | |
| float | c10dof_get_pressure (c10dof_t *ctx) |
| Get pressure value function. | |
| int16_t | c10dof_get_axis (c10dof_t *ctx, uint8_t addr_reg_low) |
| Function get axis data of BNO055 register. | |
| void | c10dof_read_accel (c10dof_t *ctx, int16_t *accelX, int16_t *accelY, int16_t *accelZ) |
| Function read Accel X-axis, Y-axis and Z-axis. | |
| void | c10dof_read_mag (c10dof_t *ctx, int16_t *magX, int16_t *magY, int16_t *magZ) |
| Function read Magnetometar X-axis, Y-axis and Z-axis. | |
| void | c10dof_read_gyro (c10dof_t *ctx, int16_t *gyroX, int16_t *gyroY, int16_t *gyroZ) |
| Function read Gyro X-axis, Y-axis and Z-axis axis. | |
| uint8_t | c10dof_check_interrupt (c10dof_t *ctx) |
| Check the state of interrupt function. | |
This file contains API for 10DOF Click driver.